/**
 * 
 */
package org.crystal.jqweb.test;

import java.util.Date;

import org.crystal.jqweb.db.*;
import org.crystal.jqweb.json.Json;

/**
 * @author Crystal
 *
 */
@Table(name="JQWEB_TEST_SUB")
public class JqWebTestTableSub {
	
	@Json
	@Id(strategy=GenerationType.SEQUENCE,sequence="JQWEB_TABLESUB_SEQ")
	@Column(name="ID")
	Long id;
	
	@Json
	@Column(name="FK")
	Long fk;
	
	@Json
	@Column(name="NAME")
	String name;
	
	@Json
	@Column(name="BIRTHDAY")
	Date birthday;
	
	@Json
	@Column(name="MEM")
	String memo;
	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * @return the fk
	 */
	public Long getFk() {
		return fk;
	}
	/**
	 * @param fk the fk to set
	 */
	public void setFk(Long fk) {
		this.fk = fk;
	}

	/**
	 * 
	 */
	public JqWebTestTableSub() {
		// TODO Auto-generated constructor stub
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the birthday
	 */
	public Date getBirthday() {
		return birthday;
	}
	/**
	 * @param birthday the birthday to set
	 */
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	/**
	 * @return the memo
	 */
	public String getMemo() {
		return memo;
	}
	/**
	 * @param memo the memo to set
	 */
	public void setMemo(String memo) {
		this.memo = memo;
	}

}
